#These are some examples that can help you with making an normal/special items like enchanted, potion or spawner items.

#You will find very handy tips by reading the info here.

#================================================================================#
#===================================Legend=======================================#
#================================================================================#

#Item 0 = sections.yml Main Menu example

#Item 1 = shops.yml Normal item example
#Item 2 = shops.yml Normal item with lore example
#Item 3 = shops.yml Enchanted item example
#Item 4 = shops.yml Potion/Tipped Arrow item example
#Item 5 = shops.yml Spawner item example
#Item 6 = shops.yml Normal item with NBT data example

#================================================================================#
#==================All options you can use to create items,======================#
#===============in the shops configuration and their meanings====================#
#================================================================================#

#----------------------------Normal item options---------------------------------#

Option 'material' is the item type
Option 'displayname' is the displayname of the item (Color codes can be used)
Option 'buy' is the price at how much the item will be bought in the shop
Option 'sell' is the price at how much the item will be sold in the shop
With option 'lore' you can set a list with messages that are visible to read when hovering over the item (The lore of an item will be applied to the item when it is bought) (Color codes can be used)

Tip: If the displayname is empty, the item will have the vanilla name.
Tip: Displayname of the item: Can include color codes and special characters.
Tip: When setting the 'sell' option to -1, the item cannot be sold in the shop (The same methode counts for the 'buy' option)

All item materials: https://www.digminecraft.com/lists/item_id_list_pc.php
All color codes: https://www.digminecraft.com/lists/color_list_pc.php

#---------------------------Enchanted item options-------------------------------#

With option 'enchantment' you can specify the enchantment effect that the item will have
With option 'strength' you can set the level (strength) of the enchantment

Note: If the option 'allow-unsafe-enchants' in the regular config is disabled (default is enabled), you are not able to set enchantments with a level over the vanilla value


All enchantment types that can be used: https://www.digminecraft.com/lists/enchantment_list_pc.php

#-----------------------------Potion item options--------------------------------#

With option 'potiontype' you can set the Type of the Potion

Note: When creating a potion item in the shop, you need to make sure that the material of the item is a "Potion", "Splash_Potion", "Lingering_Potion", or "Tipped_Arrow" (Depending on the game version you are using)


All potion types: https://minecraft.gamepedia.com/Potion#Data_values

#-----------------------------Spawner item option--------------------------------#

With option 'spawnertype' you can set the mob that's being spawned

Note: When creating a spawner item in the shop, you need to make sure that the material of the item is a "Spawner" or the item will not work


All entity types that can be used on spawners: https://www.digminecraft.com/mobs/index.php

#================================================================================#
#-------------Item 0 - Main Menu Item Example (sections.yml)---------------------#
#================================================================================#

ShopSections:
  #Section Name (Matches the shop name in shops.yml)
  Blocks:
    name-config: "Blocks"
    enable: true
    material: "GRASS_BLOCK"
    displayname: "&2&lBlocs"
    place: 19

#================================================================================#
#-------------Item 1 - Normal item example (shops.yml)---------------------------#
#================================================================================#

Shop name, items listed under this name will be sold through this shop. ("Armor" example shop)

Armor:

Note: If a shop is not also added to the sections.yml a default section item will be created.
Note: All items in the shops.yml configuration are divided by an number, each shop section can hold different numbers of items.
  1:
    material: "cooked_beef"
    displayname: "Got Beef?"
    buy: 200
    sell: 100

#================================================================================#
#-------------Item 2 - Normal item with lore example (shops.yml)-----------------#
#================================================================================#

  2:
    material: beacon
    displayname: ""
    buy: 10000
    sell: 2500
    lore:
    - "&5Hello,"
    - "&5This is a example lore."

Note: The lore is a list of text, so every message/new-line is separated by a dash and space -

#================================================================================#
#-------------Item 3 - Enchanted item example (shops.yml)------------------------#
#================================================================================#

  3:
    material: Iron_Pickaxe
    displayname: "Iron Pickaxe efficiency 10"
    buy: 200
    sell: 100
    #Enchantment name: (what enchantment should be added?)
    #Multiple Enchantments are not yet supported on a single item. (Future Version)
    #List of enchantments here: https://www.digminecraft.com/lists/enchantment_list_pc.php
    enchantment: EFFICIENCY
    #The strength of the enchantment
    strength: 10

#================================================================================#
#-------------Item 4 - Potion/Tipped Arrow item example (shops.yml)--------------#
#================================================================================#

  4:
    material: "Splash_Potion"
    displayname: "Slowness Potion"
    buy: 500
    sell: 250
    potiontype: slowness

#================================================================================#
#-------------Item 5 - Spawner item example (shops.yml)--------------------------#
#================================================================================#

  5:
    material: "Spawner"
    displayname: "&2Zombie Spawner"
    buy: 25000
    sell: -1
    spawnertype: Zombie